import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28463
 * Date: 2022—07—11
 * Time: 14:34
 */
public class Demo02 {
    public static void main(String[] args) {
        CardDemo cardDemo = new CardDemo();
        List<Card> ret = cardDemo.buyDeskCard();
        System.out.println(ret);
        System.out.println("洗牌：");
        cardDemo.shuffle(ret);
        System.out.println(ret);
        System.out.println("发牌：");
        List<List<Card>> ret2 = cardDemo.test(ret);
        for (int i = 0; i < ret2.size(); i++) {
            System.out.println("第"+i+"个人的牌："+ ret2.get(i));
        }
        System.out.println("剩余的牌：");
        System.out.println(ret);
    }
}
